package com.kefu.call.model;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.persistence.*;
import javax.validation.constraints.NotEmpty;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName(value="call_activity_inventory_info")
@ApiModel(description = "任务清单")
public class ActivityInventoryInfo implements Serializable {
    /**
     * 清单ID
     */
    @TableId(value="inventory_id")
    @NotEmpty
    @ApiModelProperty(value = "主键")
    private String inventoryId;

    /**
     * 活动ID
     */
    @TableField(value = "activity_id")
    @ApiModelProperty(value = "活动ID")
    private String activityId;

    /**
     * 活动名称
     */
    @TableField(exist=false)
    @ApiModelProperty(name = "activityName", value = "活动名称")
    private String activityName;

    /**
     * 活动状态
     */
    @TableField(exist=false)
    @ApiModelProperty(value = "活动状态")
    private String activityStatus;

    /**
     * 清单名称
     */
    @TableField(value = "inventory_name")
    @ApiModelProperty(value = "清单名称")
    private String inventoryName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    @ApiModelProperty(value = "创建人")
    private String createUser;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "修改时间")
    private Long updateTime;

    /**
     * 修改人
     */
    @TableField(value = "update_user")
    @ApiModelProperty(value = "修改人")
    private String updateUser;

    /**
     * 数据状态0 无效，1有效
     */
    @TableField(value = "data_status")
    @ApiModelProperty(value = "数据状态0 无效，1有效,2暂停",notes="当暂停活动得时候，将对应得清单设置为暂停状态")
    private Integer dataStatus;

    /**
     * 租户
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(value = "租户")
    private String tenantId;

    /**
     * 所属用户
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "所属用户")
    private String userId;

    /**
     * 所属用户
     */
    @TableField(value = "user_name")
    @ApiModelProperty(value = "所属用户")
    private String userName;

    /**
     * 清单状态
     */
    @TableField(value = "inventory_status")
    @ApiModelProperty(value = "清单状态",example="1",allowableValues="1,2",notes="1 未完成，2已完成")
    private Integer inventoryStatus;
    
    /**
     * 	清单分配状态
     */
    @TableField(value = "assignment_status")
    @ApiModelProperty(value = "清单分配状态",example="1",allowableValues="1,2",notes="1 未分配，2已分配")
    private Integer assignmentStatus;
    
    /**
     * 	意向状态
     */
    @TableField(value = "intention_status")
    @ApiModelProperty(value = "意向状态",example="0",allowableValues="0,1,2,3,4",notes="0 无，1 无效电话，2无意向，3 意向，4已成交")
    private Integer intentionStatus;
    
    /**
     * 	呼叫次数
     */
    @TableField(value = "call_count")
    @ApiModelProperty(value = "呼叫次数")
    private Integer callCount;

    /**
     * 客户ID
     */
    @TableField(value = "customer_id")
    @ApiModelProperty(value = "客户ID")
    private String customerId;

    /**
     * 客户名称
     */
    @TableField(value = "customer_name")
    @ApiModelProperty(value = "客户名称")
    private String customerName;
    
    /**
     * 客户号码
     */
    @TableField(value = "customer_phone")
    @ApiModelProperty(value = "客户号码")
    private String customerPhone;

    /**
     * 预约时间
     */
    @TableField(value = "reserve_time")
    @ApiModelProperty(value = "预约时间")
    private Long reserveTime;

    /**
     * 联系计划ID
     */
    @TableField(value = "plan_id")
    @ApiModelProperty(value = "联系计划ID")
    private String planId;
    /**
          * 清单备注
     */
    @TableField(value = "inventory_desp")
    @ApiModelProperty(value = "清单备注")
    private String inventoryDesp;

    private static final long serialVersionUID = 1L;
}